$primary-color: #8ac24e;
$secondary-color: #64b3f4;
$third-color: #d64680;

body {
  background-image: url(../img/wintermelon.png);
  background-size: 300px 300px;
  background-position: left center;
  background-repeat: no-repeat;
  main {
    .nav-main {
      position: relative;
      display: flex;
      align-items: center;
      margin-top: 15px;
      margin-bottom: 30px;
      width: 100%;
      height: 55px;
      padding: 10px;
      background-color: $secondary-color;
      border-radius: 10px;
      color: white;
      .btn-back-to-exam {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        font-size: 18px;
        border: none;
        background-color: transparent;
        color: white;
        &:hover {
          cursor: pointer;
        }
      }
      h3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }

    .main-content {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      width: 100%;
      .container-1 {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        .content-box {
          width: 360px;
          height: 215px;
          background-color: #fff;
          border-radius: 5px;

          &:last-of-type {
            .cb-row {
              &:nth-of-type(2) {
                span {
                  margin-left: 27px;
                }
              }
              &:nth-last-of-type(2) {
                span {
                  margin-left: 27px;
                }
              }
            }
          }

          .cb-row {
            width: 100%;
            height: 43px;
            padding: 0px 10px;
            line-height: 43px;
            font-size: 14px;
            border-bottom: 1px solid #ccc;
            span {
              color: darkred;
            }
            &:first-of-type {
              border-top-left-radius: 5px;
              border-top-right-radius: 5px;
            }
            &:last-of-type {
              border-bottom-left-radius: 5px;
              border-bottom-right-radius: 5px;
              border-bottom: none;
            }
          }
        }
      }

      .exam-tip {
        width: 100%;
        margin-bottom: 20px;
        font-size: 14px;
        padding: 0 10px;
      }

      .exam-mustknow {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        font-size: 14px;
        background-color: #fff;
        padding-bottom: 30px;
        border-radius: 5px;
        margin-bottom: 30px;
        h3 {
          width: 100%;
          height: 40px;
          line-height: 40px;
          border-bottom: 1px solid #ccc;
          padding: 0 10px;
        }
        h4 {
          width: 100%;
          height: 25px;
          line-height: 25px;
          padding: 0 10px;
        }
        ol {
          padding-left: 24px;
          li {
            width: 100%;
            height: 20px;
            line-height: 20px;
            margin: 5px 0;
            list-style: decimal;
          }
        }
      }

      #start-exam {
        width: 200px;
        height: 40px;
        border-radius: 5px;
        border: none;
        color: #fff;
        background-color: $primary-color;
        &:hover {
          cursor: pointer;
        }
      }
    }
  }
}
